package c0907m.group2.aitsm.core.entity;


/**
 * Author: LongDH
 * Date: 4/27/11
 * Time: 2:52 PM
 * <p/>
 * Contain information of Fine table's row.
 */
public class FineInfo {
    private int id;
    private int subjectId;
    private int studentId;
    private int semesterId;
    private int dayPresent;
    private int dayTotal;
    private double dailyRate;
    private String description;

    public int getDayPresent() {
        return dayPresent;
    }

    public void setDayPresent(int dayPresent) {
        this.dayPresent = dayPresent;
    }

    public int getDayTotal() {
        return dayTotal;
    }

    public void setDayTotal(int dayTotal) {
        this.dayTotal = dayTotal;
    }

    public int getSemesterId() {
        return semesterId;
    }

    public void setSemesterId(int semesterId) {
        this.semesterId = semesterId;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public double getDailyRate() {
        return dailyRate;
    }

    public void setDailyRate(double dailyRate) {
        this.dailyRate = dailyRate;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public int getStudentId() {
        return studentId;
    }

    public void setStudentId(int studentId) {
        this.studentId = studentId;
    }

    public int getSubjectId() {
        return subjectId;
    }

    public void setSubjectId(int subjectId) {
        this.subjectId = subjectId;
    }

    @Override
    public String toString() {
        return "FineInfo{" +
                "id=" + id +
                ", subjectId=" + subjectId +
                ", studentId=" + studentId +
                ", semesterId=" + semesterId +
                ", dayPresent=" + dayPresent +
                ", dayTotal=" + dayTotal +
                ", dailyRate=" + dailyRate +
                ", description='" + description + '\'' +
                '}';
    }
}
